Skip to content

Conversation

@MatMoore
Copy link
Contributor

@MatMoore MatMoore commented Nov 26, 2025

Description

This adds the update form for breast implants and augmentations.

Screenshot of edit form

Jira link

https://nhsd-jira.digital.nhs.uk/browse/DTOSS-11524

Review notes

I've just copied the same pattern from the other medical history forms.

Review checklist

  • Check database queries are correctly scoped to current_provider

@MatMoore MatMoore requested a review from a team November 26, 2025 14:54
@MatMoore MatMoore force-pushed the DTOSS-11524-update-implants-and-augmentation branch from 3e5b8e3 to 3d4dea8 Compare November 26, 2025 15:11


class BreastAugmentationHistoryForm(Form):
class BreastAugmentationHistoryBaseForm(Form):
Copy link
Contributor

@swebberuk swebberuk Nov 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This approach, to have a BaseForm and separate add and update forms, is the same as has been done in #760 and #770. For some forms - e.g. #778 - we've instead combined the add and update functionality into a single form. If we can agree on what approach is best then I can review all the forms and make them consistent.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good, I don't have a strong opinion either way. Initially I did the combined approach but thought it was a bit weird that the constructor param was required or not depending on what method you call.

Copy link
Contributor

@swebberuk swebberuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@MatMoore MatMoore merged commit dc6e9f9 into main Nov 27, 2025
12 checks passed
@MatMoore MatMoore deleted the DTOSS-11524-update-implants-and-augmentation branch November 27, 2025 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants